package vip.finance.makemoney.service;

import com.baomidou.mybatisplus.extension.service.IService;
import vip.finance.makemoney.common.vo.UserInfo;
import vip.finance.makemoney.entity.User;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author yangbin
 * @since 2023-01-19
 */
public interface IUserService extends IService<User> {

    /**
     * 登录
     *
     * @param account
     * @param password
     * @return
     */
    UserInfo login(String account, String password);

    /**
     * 登录账户
     *
     * @param currentUser
     * @param randNum
     * @param identifyCode
     */
    void loginTrade(UserInfo currentUser, String randNum, String identifyCode, String password);
}
